package com.changpay.zywy.mvp.model


import com.changpay.zywy.base.BaseModel
import com.changpay.zywy.http.RetrofitHelper
import com.changpay.zywy.mvp.contract.IncomDetailContract
import com.changpay.zywy.bean.*
import io.reactivex.Observable

/**
 * Created by chenxz on 2018/5/27.
 */
class IncomeDetailModel : BaseModel(), IncomDetailContract.Model {
    override fun getEarningsDetailList(map: MutableMap<String, String>): Observable<HttpResult<List<EarningDetailInfo>>> {
        return RetrofitHelper.service.earnings_detail_list(map)
    }


}